﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Configuration;
namespace warehouse
{
    static class Program
    {
        private static log4net.ILog log = log4net.LogManager.GetLogger("WarehouseMain");
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            string url = ConfigurationManager.AppSettings.Get("clientUrl");
            string width = ConfigurationManager.AppSettings.Get("width");
            string height = ConfigurationManager.AppSettings.Get("height");
            log.Info("url:" + url);
            log.Info("width:" + width);
            log.Info("height:" + height);
            Index index = new Index(url, width, height);
            Application.Run(index);
          
    }
    }
}
